projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebce7e
)
(newline): Call barf-if-buffer-read-only.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 6 Oct 1995 22:40:25 +0000
(22:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 6 Oct 1995 22:40:25 +0000
(22:40 +0000)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index 68a5005e54aa427b278e849943f78eca9a9f92a5..9c362cf8e41d5d4ecb80a96877265397371a83e7 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-31,6
+31,7
@@
The newline is marked with the text-property `hard'.
With arg, insert that many newlines.
In Auto Fill mode, if no numeric arg, break the preceding line if it's long."
(interactive "*P")
+ (barf-if-buffer-read-only)
;; Inserting a newline at the end of a line produces better redisplay in
;; try_window_id than inserting at the beginning of a line, and the textual
;; result is the same. So, if we're at beginning of line, pretend to be at